package com.szqhyxj.youxiangju.biz.realNameAuth.bankcard;

/**
 * Created by leung on 2018/11/8.
 */

import android.text.TextUtils;

import java.io.File;

/**
 * Created by leung on 2018/10/31.
 */

public  class BankCardEntity {

    private String username;
    private String bankCardNo;
    private String btCode;
    private String btName;
    private String cardPhone;
    private String bankCardPic;
    private String verCode;
    private File card;
    public boolean valid () {

        return !TextUtils.isEmpty(this.username)
                &&!TextUtils.isEmpty(this.bankCardNo)
                && !TextUtils.isEmpty(this.btCode)
                && !TextUtils.isEmpty(this.btName)
                && !TextUtils.isEmpty(this.cardPhone)
                && !TextUtils.isEmpty(this.verCode)
                ;

    }


    File getCard() {
        return card;
    }

    public void setCard(File card) {
        this.card = card;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getBankCardNo() {
        return bankCardNo;
    }

    public void setBankCardNo(String bankCardNo) {
        this.bankCardNo = bankCardNo;
    }

    public String getBtCode() {
        return btCode;
    }

    public void setBtCode(String btCode) {
        this.btCode = btCode;
    }

    public String getBtName() {
        return btName;
    }

    public void setBtName(String btName) {
        this.btName = btName;
    }

    public String getCardPhone() {
        return cardPhone;
    }

    public void setCardPhone(String cardPhone) {
        this.cardPhone = cardPhone;
    }

    public String getBankCardPic() {
        return bankCardPic;
    }

    public void setBankCardPic(String bankCardPic) {
        this.bankCardPic = bankCardPic;
    }

    public String getVerCode() {
        return verCode;
    }

    public void setVerCode(String verCode) {
        this.verCode = verCode;
    }

}